package com.hqyj.serviceInf;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.hqyj.pojo.Ticket;

import java.util.List;
import java.util.Map;

public interface TicketServiceInf {
    //分页查询
    Map<String,Object> selectAll(int pageNum, int pageSize,String ticketname);
    //添加
    int insertTicket(Ticket ticket);
    //查询一个
    Ticket showTicketById(int ticketid);
    //修改
    int updateTicket(Ticket ticket);
    //删除
    int delateTicket(int ticketid);
}
